{foreach name="admin_rule" item="v"}
	<tr id="{$pid}-{$v.id}">
		<td>{$v.id}</td>
		<td><a data-id="{$v.id}" data-level="{$v.level}" href="{:url('menu/admin_menu_list')}" style="cursor:pointer;" class="rule-list"><i class="Hui-iconfont text-blue fa-plus">&#xe600;</i></a></td>
		<td class="hidden-xs" style='padding-left:{if condition="$v.leftpin neq 0"}{$v.leftpin}px{/if}'>{$v.lefthtml}{$v.title}</td>
		<td>{$v.name}</td>
		<td>
			{if condition="$v['status'] eq 1"}显示
			{else/}隐藏
			{/if}
		</td>
		<td>{$v.level}级</td>
		<td>{$v.addtime|date='Y-m-d H:i:s',###}</td>
		<td><input name="{$v.id}" value="{$v.sort}" style="width: 50px;"/></td>
		<td class="td-manage"><a title="编辑" href="javascript:;" onclick="menu_edit('菜单编辑','{:url(\'menu/admin_menu_edit\',[\'id\'=>$v.id])}','1','800','500')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6df;</i></a> <a title="删除" href="javascript:;" onclick="menu_del(this,'{$v.id}')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
	</tr>
{/foreach}